﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warframe
{
    public class ElementalDamageMod : WeaponMod
    {
        public override Stats modifyDamage(Stats weaponStats)
        {
            switch (this.Name)
            {
                case "Piercing Hit": weaponStats.ArmorPierce += (this.DamageCoefficient * weaponStats.BaseDamage);
                    break;
                case "Storm Bringer": weaponStats.Electrical += (this.DamageCoefficient * weaponStats.BaseDamage);
                    break;
                case "Cryo Rounds": weaponStats.Freeze += (this.DamageCoefficient * weaponStats.BaseDamage);
                    break;
                case "Hell Fire": weaponStats.Fire += (this.DamageCoefficient * weaponStats.BaseDamage);
                    break;
            }
            return weaponStats;
        }

        public override Type returnType()
        {
            return this.GetType();
        }
    }
}
